<?php if (!defined('THINK_PATH')) exit();?><div class="col-md-9 work-log" style="display:none">
	<div style="width:100%;height:90px;"></div>
	<div class="panel-group" id="accordion">
		<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="panel panel-default" style="margin-top:10px;">
				<div class="panel-heading">
				  <h4 class="panel-title">
					<?php if($vo["title"] == ''): ?><a class="accordion-toggle work-log-title<?php echo ($vo["worklog_id"]); ?>" data-parent="#accordion" title="<?php echo ($vo["name"]); ?>&nbsp;&nbsp;&nbsp;<?php echo ($vo["create_time"]); ?>" href="javascript:_MP('<?php echo ($vo["worklog_id"]); ?>')"><?php echo ($vo["name"]); ?>&nbsp;&nbsp;&nbsp;<?php echo ($vo["create_time"]); ?></a>
					<?php else: ?>	
					<a class="accordion-toggle work-log-title<?php echo ($vo["worklog_id"]); ?>" data-parent="#accordion" title="<?php echo ($vo["title"]); ?>" href="javascript:_MP('<?php echo ($vo["worklog_id"]); ?>','__APP__/Comment/commentList')"><?php echo ($vo["title"]); ?></a>
					<span class="pull-right"><?php echo ($vo["name"]); ?>&nbsp;&nbsp;&nbsp;<?php echo ($vo["create_time"]); ?></span><?php endif; ?>
				  </h4>
				</div>
				<div id="collapseOne" class="panel-collapse collapse in">
				  <div class="panel-body" style="word-break: break-all;">
					<!-----<?php $pattern = '/src="(.*)"/iUs'; preg_match_all($pattern,$vo["work"],$matches,PREG_OFFSET_CAPTURE); echo imgHtml($matches[1]).mb_substr(strip_tags($vo["work"],"<table><a>"),0,280,'utf-8'); if(str_len(strip_tags($vo["work"],"<a>")) > 280){ echo "......<a title='$vo[title]' href='javascript:_MP(\"".$vo[worklog_id]."\")'>查看更多</a>"; } ?>------>
					<?php echo ($vo["work"]); ?>
				  </div>
				  <div class="work-log-content<?php echo ($vo["worklog_id"]); ?> hide">
					<?php echo ($vo["work"]); ?>
				  </div>
				</div>
			</div><?php endforeach; endif; else: echo "" ;endif; ?>
	</div>
</div>
<script>
	$(function(){		
		$("a.fancybox-upload-img").fancybox();
	});
</script>